package com.hinotoyk.testsystem.uitls;

/**
 * @program: testsystem
 * @description:
 * @author: DYJ
 * @create: 2019-11-14 10:48
 **/
public enum QuestionType {
    // 错误题目类型
    ErrorQuestion(0, "error_question"),
    // 单项选择题
    SGQuestion(1,"sg_question"),
    // 多项选择题
    PLQuestion(2,"pl_question"),
    TOFQuestion(3,"tof_question"),
    FillingQuestion(4,"filling_question"),
    EssayQuestion(5,"essay_question");

    public static String TypeNames[] = {"error", "sg", "pl", "tof", "fill", "essay" };
    private int type;
    private String tableName;

    QuestionType(int type, String tableName) {
        this.type = type;
        this.tableName = tableName;
    }

    public int getType() { return this.type; }
    public String getTableName(){
        return this.tableName;
    }
}
    